// 获取排行榜
$.get('http://192.168.5.120:8089/toplist/detail', function (res) {
	// console.log(res);

	$.each(res.list, function (index, item) {
		if (index > 3) {
			return
		}
		$('.Leaderboard').append(
			`
			<div class="Leaderboard-box">
				<div class="Leaderboard-left">
				<img src="${item.coverImgUrl}" alt="">
				<span class ="LeaderSpan">${item.updateFrequency}</span>
				</div>
				<div class="Leaderboard-right">
				</div>
			</div>
		`)
		$.each(item.tracks, (index1, item1) => {
			$('.Leaderboard-right').eq(index).append(`
					<p>${index1 + 1}.${item1.first} - ${item1.second}</p>`);
		})

	})

})
